package com.hsc.eduservice.client;

import com.hsc.commonutils.R;
import com.hsc.eduservice.entity.vo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 评论
 */
@FeignClient(value = "service-ucenter",fallback = CommentDegradeFeignClient.class) //远程服务名称调用
@Component
public interface CommentClient {


    @PostMapping("/educenter/member/getInfoUc/{id}")
    public UcenterMemberVo getInfo(@PathVariable("id") String id);
}
